﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Com.JunCaiSoft.API.WXWork.Dto
{
    /// <summary>
    /// 部门
    /// </summary>
    public class Department
    {
        /// <summary>
        /// 部门id
        /// </summary>
        public virtual Int32 id { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public virtual String name { get; set; }
        /// <summary>
        /// 部门名称（中文）
        /// </summary>
        public virtual String name_en { get; set; }
        /// <summary>
        /// 部门父节点
        /// </summary>
        public virtual Int32 parentid { get; set; }
        /// <summary>
        /// 部门排序码
        /// </summary>
        public virtual Int64 order { get; set; }
        /// <summary>
        /// 部门成员
        /// </summary>
        public virtual List<Employer> children { get; set; }
    }
}
